package com.compass.report.client;

import com.compass.report.client.ui.ReportPanel;
import com.compass.ui.client.AdvancedChartExample;
import com.extjs.gxt.ui.client.widget.ContentPanel;
import com.extjs.gxt.ui.client.widget.Viewport;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class CompassReport implements EntryPoint 
{
	public void onModuleLoad()
	{
		Viewport mainPanel = new Viewport();
//		ContentPanel layout = new ContentPanel();
//		ContentPanel tablePanel = new ContentPanel();
//		AdvancedChartExample chart = new AdvancedChartExample(tablePanel, "Rapport Qualité");
//		mainPanel.add(chart);
//		mainPanel.add(new ReportPanel());
//		RootPanel.get().add(mainPanel);
		RootPanel.get().add(new ReportPanel());
	}
}
